package com.iotechn.unimall.data.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.dobbinsoft.fw.core.annotation.doc.ApiEntity;
import com.dobbinsoft.fw.core.annotation.doc.ApiField;
import com.dobbinsoft.fw.core.entiy.SuperDTO;
import lombok.Data;

import java.util.Date;
@Data
@ApiEntity(description = "巡检记录传输实体")
public class InspectionDTO extends SuperDTO {

    @ApiField(description ="id")
    private Long id;
    @ApiField(description ="roundsId")
    private Long roundsId;
    @ApiField(description ="room_name")
    private String roomName;
    @ApiField(description ="room_id")
    private Integer roomId;
    @ApiField(description ="equipment_type")
    private String equipmentType;
    @ApiField(description ="equipment_no")
    private String equipmentNo;
    @ApiField(description ="equipment_id")
    private Long equipmentId;
    @ApiField(description ="temperature")
    private Double temperature;
    @ApiField(description ="humidity")
    private String humidity;
    @ApiField(description ="running_status")
    private Integer runningStatus;
    @ApiField(description ="photo")
    private String photo;
    @ApiField(description ="inspection_status")
    private Integer inspectionStatus;
    @ApiField(description ="abnormal_matters")
    private String abnormalMatters;
    @ApiField(description ="abnormal_status")
    private Integer abnormalStatus;
    @ApiField(description ="remarks")
    private String remarks;
    @ApiField(description ="gmt_update")
    private Date gmtUpdate;
    @ApiField(description ="gmt_create")
    private Date gmtCreate;

    @ApiField(description ="开始时间")
    @TableField(exist = false)
    private String startDate;
    @ApiField(description ="结束时间")
    @TableField(exist = false)
    private String endDate;
    @ApiField(description ="巡检人")
    @TableField(exist = false)
    private String inspectionPeople;
    @ApiField(description ="轮数")
    @TableField(exist = false)
    private String rounds;
}
